<?xml version="1.0" ?>
<srv:container xmlns="http://doctrine-project.org/schemas"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:srv="http://symfony.com/schema/dic/services"
               xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
                        http://doctrine-project.org/schemas http://doctrine-project.org/schemas/doctrine_cache-1.0.xsd">

    <doctrine-cache>
        <provider name="my_mongodb_cache">
             <mongodb server="localhost:27017" >
                 <database-name>my_database</database-name>
                 <collection-name>my_collection</collection-name>
             </mongodb>
         </provider>
    </doctrine-cache>
</srv:container>